package com.iflysse.dao;

import org.apache.ibatis.annotations.Select;

import com.iflysse.entity.Student;

public interface StudentDao {

	/**
     * 根据账户编号查询学生信息
     * @param accountId
     * @return
     */
    @Select("select * from tb_student where account_id = #{accountId}")
    Student getStudentByAccountId(String accountId);
    
    /**
     * 根据学生ID查询学生信息
     * @param studentId
     * @return
     */
    @Select("select * from tb_student where student_id = #{studentId}")
    Student getStudentByStudentId(String studentId);

}
